package com.budwk.app.util;


import com.budwk.starter.common.openapi.annotation.ApiDefinition;
import com.budwk.starter.common.openapi.annotation.ApiOperation;
import com.budwk.starter.common.openapi.annotation.ApiResponses;
import com.budwk.starter.common.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.GET;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.POST;


@IocBean
@At("/platform/jmeter")
@ApiDefinition(tag = "jmeter-test")
@Slf4j
public class Jmeter {

    @At("/test")
    @Ok("json")
    @ApiOperation(name = "jmeter-test")
    @GET
    @ApiResponses
    public Result<?> test() {
        return Result.data("ok") ;

    }

}
